﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for bussiness
/// </summary>
public class bussiness
{
    private datacessDB da;
	public bussiness()
	{
	}
    public bool checkNull(string text)
    {
        if (text == "")
        {
            return true;
        }
        else 
        {
            return false;
        }
    }
    public List<Ecard> getAllEcard()
    {
        da = new datacessDB();
       return da.getAllEcard();
    }
    public List<SentEcard> getAllSentEcard()
    {
        da = new datacessDB();
        return da.getAllSentEcard();
    }
    public List<listEmail> getAllListEmail()
    {
        da = new datacessDB();
        return da.getAllListEmail();
    }
}